#pragma warning disable 108
using System;
using System.Runtime.InteropServices;
using System.Collections.Generic;
using Cephei;
using Cephei.Generic;
using Cephei.QL.Models.Marketmodels;
using Cephei.QL.Math;
namespace Cephei.QL.Models.Marketmodels.Models
{
     
    [Guid ("E55C0DD0-7618-4b88-A5F8-2C9665582A88"),ComVisible(true)]
	public interface ICTSMMCapletMaxHomogeneityCalibration : Cephei.QL.Models.Marketmodels.Models.ICTSMMCapletCalibration
	{
		///////////////////////////////////////////////////////////////
        // Methods
        //
        // <summary> 
		// the actual calibration function, this is a static class member
		// </summary>
		 UInt32 CapletMaxHomogeneityCalibration(Cephei.QL.Models.Marketmodels.IEvolutionDescription evolution, Cephei.QL.Models.Marketmodels.IPiecewiseConstantCorrelation corr, Cephei.IVector<Cephei.QL.Models.Marketmodels.Models.IPiecewiseConstantVariance> displacedSwapVariances, Cephei.IVector<Double> capletVols, Cephei.QL.Models.Marketmodels.ICurveState cs, Double displacement, Double caplet0Swaption1Priority, UInt64 numberOfFactors, UInt64 maxIterations, Double tolerance, Double deformationSize, Double totalSwaptionError, Cephei.IVector<Cephei.QL.Math.IMatrix> swapCovariancePseudoRoots);
    }

    // <summary> 
	//  Factory
	// </summary>
   	[ComVisible(true)]
    public interface ICTSMMCapletMaxHomogeneityCalibration_Factory // : Collection_Factory<ICTSMMCapletMaxHomogeneityCalibration, ICell<ICTSMMCapletMaxHomogeneityCalibration>>
    {
        ///////////////////////////////////////////////////////////////
        // Factory methods
        //
        
	    ICTSMMCapletMaxHomogeneityCalibration Create (Cephei.QL.Models.Marketmodels.IEvolutionDescription evolution, Cephei.QL.Models.Marketmodels.IPiecewiseConstantCorrelation corr, Cephei.IVector<Cephei.QL.Models.Marketmodels.Models.IPiecewiseConstantVariance> displacedSwapVariances, Cephei.IVector<Double> capletVols, Cephei.QL.Models.Marketmodels.ICurveState cs, Double displacement, Microsoft.FSharp.Core.FSharpOption<Double> caplet0Swaption1Priority);
    }
}

